-- GENERATED SPELL FOR [Icetouched Earthrager] --


function spell0_29436(pUnit, Event) --@Avalanche,n/a--
pUnit:FullCastSpellOnTarget(55216,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29436', 569, 1)
end

function Sorts_29436(pUnit, Event)
local choix_sorts_29436 = math.random(0, 0)
if choix_sorts_29436 == 0 then
pUnit:RegisterEvent('spell0_29436', 1, 1)
end
end

function mob29436_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29436', math.random(1500, 3000), 1)
end

function mob29436_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29436_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29436_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29436, 1, 'mob29436_Action')
RegisterUnitEvent(29436, 2, 'mob29436_Leave')
RegisterUnitEvent(29436, 3, 'mob29436_Kill')
RegisterUnitEvent(29436, 4, 'mob29436_Die')
